<%@ page import="ar.com.binarit.entities.PagoUsuario" %>



<div class="fieldcontain ${hasErrors(bean: pagoUsuarioInstance, field: 'viaje', 'error')} required">
	<label for="viaje">
		<g:message code="pagoUsuario.viaje.label" default="Viaje" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="viaje" name="viaje.id" from="${ar.com.binarit.entities.Viaje.list()}" optionKey="id" required="" value="${pagoUsuarioInstance?.viaje?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: pagoUsuarioInstance, field: 'idCollectionMP', 'error')} ">
	<label for="idCollectionMP">
		<g:message code="pagoUsuario.idCollectionMP.label" default="Id Collection MP" />
		
	</label>
	<g:textField name="idCollectionMP" value="${pagoUsuarioInstance?.idCollectionMP}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: pagoUsuarioInstance, field: 'cantidadHorasVentana', 'error')} required">
	<label for="cantidadHorasVentana">
		<g:message code="pagoUsuario.cantidadHorasVentana.label" default="Cantidad Horas Ventana" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="cantidadHorasVentana" type="number" value="${pagoUsuarioInstance.cantidadHorasVentana}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: pagoUsuarioInstance, field: 'estadoPago', 'error')} required">
	<label for="estadoPago">
		<g:message code="pagoUsuario.estadoPago.label" default="Estado Pago" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="estadoPago" name="estadoPago.id" from="${ar.com.binarit.entities.EstadoPago.list()}" optionKey="id" required="" value="${pagoUsuarioInstance?.estadoPago?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: pagoUsuarioInstance, field: 'fechaPago', 'error')} required">
	<label for="fechaPago">
		<g:message code="pagoUsuario.fechaPago.label" default="Fecha Pago" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="fechaPago" precision="day"  value="${pagoUsuarioInstance?.fechaPago}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: pagoUsuarioInstance, field: 'tipoPago', 'error')} required">
	<label for="tipoPago">
		<g:message code="pagoUsuario.tipoPago.label" default="Tipo Pago" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="tipoPago" name="tipoPago.id" from="${ar.com.binarit.entities.TipoPago.list()}" optionKey="id" required="" value="${pagoUsuarioInstance?.tipoPago?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: pagoUsuarioInstance, field: 'total', 'error')} required">
	<label for="total">
		<g:message code="pagoUsuario.total.label" default="Total" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="total" value="${fieldValue(bean: pagoUsuarioInstance, field: 'total')}" required=""/>
</div>

